package cn.edu.scau.cmi.chenyiqiu.composite.consistent;

import java.util.Set;


public class ConsistentPerson extends ConsistentOrganizationComponent{
	//------------------------------修改器、访问器-------------------------------------------
		public Set<ConsistentOrganizationComponent> getChildrens() {
			throw new UnsupportedOperationException("这个功能不支持");
		}
		
	//------------------------------定义抽象类方法方法----------------------------------------------
	@Override
	public String say() {
		// TODO Auto-generated method stub
		return this.name;
	}

	@Override
	public void addChildren(ConsistentOrganizationComponent children) {
		// TODO Auto-generated method stub
		throw new UnsupportedOperationException("这个功能不支持");
	}

	@Override
	public void deleteChildren(ConsistentOrganizationComponent children) {
		// TODO Auto-generated method stub
		throw new UnsupportedOperationException("这个功能不支持");
	}
}
